package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Arrays;
import java.util.Date;

/**
 * @author :Colin
 * @version 创建时间: 2021/7/15 15:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)//链式编程要放在对象里
public class Student {
    private String user;
    private Double age;
    private Integer sex;
    private String like;//名称和前端页面的name一致，类型和value一致
    private Integer edu;

    //@DateTimeFormat(pattern ="yyyy-MM-dd")
    private String date;
}

